﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyQuangCao
{
    public partial class frmChinh : Form
    {
        
        public static frmChinh me;
        public string sqlcon = "server=VIRTUAL-XP;database=QuanLyQuangCao;uid=sa;pwd=sa";
        public connect1 cn1 = new connect1();      
        public frmChinh()
        {
            me = this;
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            frmDangKy_View frm = new frmDangKy_View();
            frm.Show();
        }

        private void Main_Load(object sender, EventArgs e)
        {

        }

        private void quangCaoToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void tempToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGD_QC QC = new frmGD_QC();
            QC.MdiParent = this;
            QC.Show();
        }

        private void nhânViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGD_NV NV = new frmGD_NV();
            NV.MdiParent = this;
            NV.Show();
        }

        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGD_KH KH = new frmGD_KH();
            KH.MdiParent = this;
            KH.Show();
        }

        private void baoCao1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQC_1 fQC1 = new frmQC_1();
            fQC1.Show();
        }

        private void thoiDiemToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQC_2 fQC2 = new frmQC_2();
            fQC2.Show();
        }

        private void quảngCáoTheoThờiGianToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQC_3 fQC3 = new frmQC_3();
            fQC3.Show();
        }

        private void quảngCáoTheoKháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmQC_4 fQC4 = new frmQC_4();
            fQC4.Show();
        }
    }
}
